<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>轻课学员KPI管理系统</title>

    <!-- Bootstrap Core CSS -->
    <link href="css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="css/admin.css" rel="stylesheet">

    <!-- Custom Fonts -->
    <link href="font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
<script type="text/javascript">
function validate(){
	if(form.username.value==""){
		alert("用户ID不能为空");	
		return false;
	}
	if(form.password.value==""){
		alert("密码不能为空");	
		return false;
	}
	if(form.role.value==""){
		alert("角色类别不能为空");	
		return false;
	}
}
</script>
</head>

<body id="login">

    <div id="login-form">
        <h3>高校学生综合素质评分系统</h3>
        <form action="user/login.do" method="post" name="form" onsubmit="return validate();">

            <div class="col-lg-8">
                <div class="form-group">
                    <label>用户ID</label>
                    <input class="form-control" type="text" name="username">
                </div>

                <div class="form-group">
                    <label>密码</label>
                    <input class="form-control" type="password" name="password">
                </div>

                <div class="form-group">
                    <label>用户类别</label>
                    <select class="form-control" name="role">
                        <option value="stu">学员</option>
                        <option value=scorePromoter>成绩导入员</option>
                        <option value="instructor">辅导员</option>
                        <option value="admin">超级管理员</option>
                    </select>
                </div>                
            </div>

			
            <div class="form-group">
                <a id="login-btn"></a>
            </div>
            
        </form>
    </div>
    <!-- /#wrapper -->

    <!-- jQuery -->
    <script src="js/jquery.js"></script>
    <script src="js/admin.js"></script>
	
    <!-- Bootstrap Core JavaScript -->
   <script src="js/bootstrap.min.js"></script>

</body>

</html>
